package org.jeecg.modules.gongqiang.service.impl;

import org.jeecg.modules.gongqiang.entity.GoodDetail;
import org.jeecg.modules.gongqiang.mapper.GoodDetailMapper;
import org.jeecg.modules.gongqiang.service.IGoodDetailService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 商品详情
 * @Author: jeecg-boot
 * @Date:   2024-06-12
 * @Version: V1.0
 */
@Service
public class GoodDetailServiceImpl extends ServiceImpl<GoodDetailMapper, GoodDetail> implements IGoodDetailService {
	
	@Autowired
	private GoodDetailMapper goodDetailMapper;
	
	@Override
	public List<GoodDetail> selectByMainId(String mainId) {
		return goodDetailMapper.selectByMainId(mainId);
	}

	@Override
	public GoodDetail getByIdLock(String goodDetailId) {
		return goodDetailMapper.getByIdLock(goodDetailId);
	}
}
